<?php
$wages=[
    '市场部'=>[
        [1,'杨朝','市场经理',8800],
             [2,'王玲','市场专员',5800],
],
    "产品部"=>[
        [1,'邓建','产品经理',9100],
        [2,'白伟','产品专员',6300],

],
    '财务部'=>[
        [1,'曹辉','财务经理',7500],
        [2,'陈炳良','财务专员',4800],
        [3,'丁国华','财务专员',5000],
    ],
];
foreach($wages as $bumen=>$persons){
    echo $bumen,"部门人员如下：\n";
    foreach ($persons as $person){
        foreach ($person as$item){
            echo $item,"\t";
        }
        echo "\n";
    }
}